﻿
using B.S.Traceability.Domain;
using B.S.Traceability.Error;
using MediatR;

namespace B.S.Traceability.Writer.API.Application.Commends.Farmss
{
    public class CreateFarmCommends : IRequest<APIResult<Farms>>
    {

        public int FarmsId { get; set; }
        /// <summary>
        /// 生产批次--唯一
        /// </summary>
        public int BatchId { get; set; }

        /// <summary>
        /// 品种
        /// </summary>
        public string? Variety { get; set; }

        /// <summary>
        /// 来源
        /// </summary>
        public string? Source { get; set; }

        /// <summary>
        /// 饲养天数
        /// </summary>
        public int? RearsNum { get; set; }

        /// <summary>
        /// 饲养负责人
        /// </summary>
        public string? FeedPerson { get; set; }

        /// <summary>
        /// 饲料品牌
        /// </summary>
        public string? Feedbrands { get; set; }

        /// <summary>
        /// 出栏日期
        /// </summary>
        public DateTime? SlaughterTime { get; set; }
        /// <summary>
        /// 逻辑删除 false 未删  true 删除
        /// </summary>
        public bool IsDel { get; set; } 
    }
}
